﻿using System;
using Microsoft.Practices.Composite.Events;
using StockholmsStad.Windows.UI.Modules.Couple.Interfaces;

namespace StockholmsStad.Windows.UI.Modules.Couple.Presenters
{
    public class CeremonyPresenter
    {
        public event EventHandler<DataEventArgs<int>> CoupleSelected = delegate { };

        public CeremonyPresenter(ICeremonyView view)
        {
            View = view;
        }

        public ICeremonyView View { get; set; }

        public void SetSelectedTicket(int ticketId)
        {
            View.SelectedTicketId = ticketId;
        }
    }
}
